package cn.xianshu.service;


import cn.xianshu.dto.SendSmsDto;
import org.springframework.stereotype.Component;

@Component
public interface IVerifyCodeService {


    /**
     * 图片验证码
     * @param key
     * @return
     */
    String imageCode(String key);

    /**
     * 手机验证码
     * @param dto
     */
    void sendSmsCode(SendSmsDto dto);
}
